package com.glodon.paas.monitor.server.biz.service;

import java.util.List;

import com.glodon.paas.monitor.server.biz.domain.MonitorUserAppEntity;
import com.glodon.paas.monitor.server.exception.MonitorException;

public interface MonitorUserAppService {

	int deleteByPrimaryKey(Long id) throws MonitorException;

	int insert(MonitorUserAppEntity record) throws MonitorException;

	int insertSelective(MonitorUserAppEntity record) throws MonitorException;

	MonitorUserAppEntity selectByPrimaryKey(Long id) throws MonitorException;

	List<MonitorUserAppEntity> selectByAppId(Long appId) throws MonitorException;

	MonitorUserAppEntity selectByUserId(Long userId) throws MonitorException;

	int updateByPrimaryKeySelective(MonitorUserAppEntity record) throws MonitorException;

	int updateByPrimaryKey(MonitorUserAppEntity record) throws MonitorException;
}
